package org.zhaozhen.pay.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.zhaozhen.basic.domain.BaseDomain;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PayBill extends BaseDomain {
    private String digest;
    private BigDecimal money;
    private String unionPaySn;
    private Integer state=0;
    @JsonFormat(pattern = "yyyy-MM-dd HH：mm:ss",timezone = "GMT+8")
    private Date lastPayTime=new Date();
    private Long payChannel; //0 余额 1 支付宝 2 微信 3 银联
    private String businessType;
    private Long businessKey;
    private Date updateTime;
    private Date createTime;
    private Long user_id;
    private Long shop_id;
    private String nickName;

}
